{% load static %}
<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <title>Login Page | Amaze UI Example</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="format-detection" content="telephone=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="alternate icon" type="image/png" href="/i/favicon.png">
  <link rel="stylesheet" href="{% static 'css/amazeui.min.css' %}"/>
  <style>
    .header {
      text-align: center;
    }
    .header h1 {
      font-size: 200%;
      color: #333;
      margin-top: 30px;
    }
    .header p {
      font-size: 14px;
    }
  </style>
</head>
<body>
<div class="header">
  <div class="am-g">
    <h1>新疆农业大学</h1>
    <p>教师工作量<br/>核算统计系统</p>
  </div>
  <hr />
</div>
<div class="am-g">
  <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
    <h3>登录</h3>


    <form method="post" class="am-form">
        {% csrf_token %}
       <h1 style="color: red"> {{ error }}</h1>

        <label for="fz">分组:</label>
        <input type="radio" name="type" id ="student" value="1"><label for="student">管理员</label>
        <input type="radio" name="type" id="teacher" value="0"><label for="teacher">老师</label>
        <br>
      <label for="zh">账号:</label>
      <input type="password" name="user_name" id="zh" value="">
      <br>
      <label for="password">密码:</label>
      <input type="password" name="pwd" id="password" value="">
      <br>
      <div class="am-cf">
        <input type="submit" name="" value="登 录" class="am-btn am-btn-primary am-btn-sm am-fl">
        <input type="submit" name="" value="注册 " class="am-btn am-btn-default am-btn-sm am-fr">
      </div>
    </form>
    <hr>
    <p>新疆农业大学计算机与信息工程学院</p>
  </div>
</div>
</body>
</html>
